package com.ps.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ps.dto.EmployeeDTO;
import com.ps.dto.EmployeeLoginDTO;
import com.ps.dto.EmployeePageQueryDTO;
import com.ps.entity.Employee;
import com.ps.result.PageResult;
import com.ps.vo.EmployeeLoginVO;


public interface EmployeeService  extends IService<Employee> {


    EmployeeLoginVO login(EmployeeLoginDTO employeeLoginDTO);

    void save(EmployeeDTO employeeDTO);

    PageResult pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    void starOrStop(Integer status, Long id);

    Employee getToId(Long id);

    void updateEmployee(EmployeeDTO employeeDTO);


}
